from django.contrib.auth.models import User
from pyamf.remoting.gateway.django import DjangoGateway

def user_list(request):
    return User.objects.all()

gateway = DjangoGateway({
    'userlist': user_list,
})
